home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Idle
/
PostponableMethod.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
482b
|
28 lines
// PostponableMethod.h
#ifndef PostponableMethod_h
#define PostponableMethod_h
#ifndef MethodOf_h
#include "MethodOf.h"
#endif
#ifndef Postponer_h
#include "Postponer.h"
#endif
template < class Target >
class PostponableMethod: public MethodOf< Target >,
public Postponer
{
private:
::Method& TheMethod() { return *this; }
public:
PostponableMethod( Target *t, MemberType m )
: MethodOf<Target>( t, m ),
Postponer( TheMethod() )
{}
};
#endif